package com.cykj.pos.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cykj.common.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;


@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("aiz_deduction_wallet")
public class AizDeductionWallet implements Serializable {

private static final long serialVersionUID=1L;


    /** 钱包主键 */
    @TableId(value = "wallet_id")
    private Long walletId;

    /** 钱包用户 */
    private Long userId;

    /** 代理名称 */
    @Excel(name = "代理名称")
    private String userName;

    /** 部门 */
    private Long deptId;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String deptName;

    // 钱包余额
    private BigDecimal amount;

    private Date createTime;



    @TableField(exist = false)
    private Map<String, Object> params = new HashMap<>();

}
